<!DOCTYPE html>
<html>
  <head>
    <title>IpsV2</title>
    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="#">IPS-Patentverwaltung</a>
          <div class="nav-collapse">
            <ul class="nav">
              <li><%= link_to "Patentliste", patents_path%></li>
              <li><%= link_to "Neues Patent", new_patent_path %></li>
              <li><%= link_to "Gebühren" %></li>
              <li><%= link_to "Protokoll" %></li>
              <li><%= link_to "Rechnungen" %></li>
            </ul>

          </div>
        </div>
      </div>
    </div>
    <div class="container">
      <% flash.each do |name, msg| %>
      <div class="alert alert-<%= name == :notice ? "success" : "error" %>">
        <a class="close" data-dismiss="alert">×</a>
        <%= msg %>
      </div>
      <% end %>
      <%= yield %>
    </div>
  </body>
</html>
